import {
    createApp
} from 'vue'
import App from './App.vue'
import { exportDirectiives } from './hooks';
const app = createApp(App);
//全局注册
// app.directive("focus", {
//     mounted(el)
//     {
//         el?.focus();
//     }
// })
app.directive("why", {
    mounted(el, bindings)
    {
        console.log(el, bindings);
    }
})
exportDirectiives(app);

app.mount('#app')